// src/store/index.js
import Vue from 'vue'
import Vuex from 'vuex'
import saveInLocal from './plugin/saveInLocal'
import user from './modules/user'
import dicts from './modules/dicts'
Vue.use(Vuex)

const store = new Vuex.Store({
  modules: {
    user,
    dicts
  },
  plugins:[saveInLocal],
})

export default store